/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.base.db.dao;

import com.yunhoo.base.model.Project;
import com.yunhoo.base.model.Project;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 *
 * @author Administrator
 */
public interface ProjectDao {

    public void insert(Project param) throws SQLException;

    public void update(Project param) throws SQLException;

    public void updateIsEnd(Project param) throws SQLException;

    public void delete(Project param) throws SQLException;

    public void deleteById(Project param) throws SQLException;

    public Project queryById(Project param) throws SQLException;

    public List<Project> queryAll(Project param) throws SQLException;

    public List<Project> directSubNodes(Project param) throws SQLException;

    public Project nameRepeatForInsert(Project param) throws SQLException;

    public Project nameRepeatForUpdate(Project param) throws SQLException;

    public List<Project> queryListByOrgAndYear(Project param) throws SQLException;
}
